package com.gxc.oauth2.repository;

import com.gxc.oauth2.entity.TbUserEntity;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author GongXincheng
 * @since 2019-10-11 17:42
 */
public interface UserRepository extends JpaRepository<TbUserEntity, Long> {

    TbUserEntity findByUsername(String username);

}
